package com.example.xmpic.ui.data;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @author skygge
 * @date 2020/6/24.
 * GitHub：javofxu@github.com
 * email：skygge@yeah.net
 * description：摄像头本地文件-截图和视频回放
 */
@Entity
public class CameraLocalFile implements Serializable{

    static final long serialVersionUID = 52L;

    @Id()
    private String downTime;//下载时间

    private String serial; //序列号

    private String filename;//文件名称

    private String filepath;//文件绝对路径

    private String fileSize;//文件大小

    private String modifyTime;//存储/修改时间

    private boolean isLocalFile;//是否是本地文件

    @Generated(hash = 1714738842)
    public CameraLocalFile(String downTime, String serial, String filename,
            String filepath, String fileSize, String modifyTime,
            boolean isLocalFile) {
        this.downTime = downTime;
        this.serial = serial;
        this.filename = filename;
        this.filepath = filepath;
        this.fileSize = fileSize;
        this.modifyTime = modifyTime;
        this.isLocalFile = isLocalFile;
    }

    @Generated(hash = 1953404678)
    public CameraLocalFile() {
    }

    public String getDownTime() {
        return this.downTime;
    }

    public void setDownTime(String downTime) {
        this.downTime = downTime;
    }

    public String getSerial() {
        return this.serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public String getFilename() {
        return this.filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getFilepath() {
        return this.filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public String getFileSize() {
        return this.fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public String getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public boolean getIsLocalFile() {
        return this.isLocalFile;
    }

    public void setIsLocalFile(boolean isLocalFile) {
        this.isLocalFile = isLocalFile;
    }
}
